package com.tmeone.erpone.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tmeone.erpone.entity.TOrder1;
import com.tmeone.erpone.entity.TProductionLine;

import java.util.List;


public interface ScDscMapper extends BaseMapper<TOrder1> {
    //查询待生产订单
    IPage<TOrder1> selectPage(IPage<TOrder1> page);
    //查询所有的生产产线
    List<TProductionLine> selectProductLine();
    //查询所有打印机
    List<TOrder1> selectPrinter();

    //查询订单所有的生产状态
    List<TOrder1> selectStatus();

    //精准查询
    IPage<TOrder1> selectPageById(IPage<TOrder1> page, String orderId, String productStatus);
    //改变加入激光码的状态
   TOrder1 updateLaserCode(String laserCode,String orderId);
}
